{ config, pkgs, ... }:

{
imports = [
	# 导入模块化的配置
	./gitui/gitui.nix               # gitui配置
	./modules/home-manager/alacritty/alacritty.nix # alacritty配置
	./modules/home-manager/fish/fish.nix      # fish和starship配置
	./modules/home-manager/git/git.nix       # git配置
	./modules/home-manager/i3/i3.nix        # i3配置
	./modules/home-manager/packages/packages.nix  # 软件包配置
	./modules/home-manager/xresources/xresources.nix # X资源配置
	./modules/home-manager/fcitx5/default.nix    # fcitx5输入法配置
];

  # 用户配置
  home.username = "ifnk";
  home.homeDirectory = "/home/ifnk";

  # Home Manager状态版本
  home.stateVersion = "25.05";

  # 启用Home Manager
  programs.home-manager.enable = true;

  # 设置home-manager备份文件扩展名
  # home.backupFileExtension = "bak";
}
